package com.example.demo.pojo;

import lombok.Data;

import java.util.List;

@Data
public class Blog {
    private Integer id;
    private String content;
    private String firstpic;
    private String title;


    public String getFirstpic() {
        return firstpic;
    }

    public void setFirstpic(String firstpic) {
        this.firstpic = firstpic;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFirstPic() {
        return firstpic;
    }

    public void setFirstPic(String firstPic) {
        this.firstpic = firstPic;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", firstpic='" + firstpic + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
